package com.uubx.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Id;
import java.math.BigDecimal;


@ApiModel(description = "Insurance列表")
public class InsuranceVo1 {

    @Id
    @ApiModelProperty(value = "保险id",hidden = true)
    private Long id;
    /**
     * 保险名字
     */
    @ApiModelProperty("保险名字")
    private String name;

    /**
     * 保险类型,0代表交强险,1代表商业险
     */
    @ApiModelProperty("保险类型,0代表交强险,1代表商业险,其余数字为空")
    private Integer type;
    /**
     * 保险购买价格
     */
    @ApiModelProperty("保险购买价格")
    private BigDecimal price;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
}
